home *** CD-ROM | disk | FTP | other *** search
- TREE Release 1
-
- David Scott
-
-
- Introduction
-
- TREE is a utility program which displays or prints Archimedes ADFS file
- structures. It also provides facilities to search for files with a
- specified wildcard file name.
-
- The program is written in C and is available as a machine code file for
- running on the Archimedes.
-
- Commands
-
- The operation of the program is controlled by the parameters given in
- the command line when calling the program.
-
- The syntax for the command line is:
-
- *TREE [<directoryname>] [<wildcard file name>] [options]
-
- If no parameters or a faulty parameter is given then the help text is
- displayed.
-
- The default drive and directory name is ':4.$'. If another drive is
- required then it must be specified explicitly. If the drive is correct
- but a different directory is required then this may be specified without
- specifying the drive.
-
- The wild card filename is normally used only when a particular file or
- group of files is required to be listed. The default file name is '*'
- which ensures that all files are listed.
-
- Options are specified by a hyphen followed by a single letter:
-
- -c List current directory only. If this option is not specified then
- subdirectories are also listed.
-
- -d List directory names only. If this option is not specified then
- file names are also listed.
-
- -l Listing format option. If specified then files are listed one per
- line. Each file name is indented to show its level relative to the
- root directory. If the option is omitted, then up to five files
- are listed on each line. In both cases the directory name is given
- in full at the beginning of the list.
-
- -p Print all screen information on the current printer. This option
- assumes that the printer has been correctly initialised and that
- it is on line.
-
- -s Search for and display file names. This option is particularly
- suitable for displaying files when a wild card file name has been
- specified. The file name is given in full including the drive and
- full path name. File names are indented to separate them from
- directory names. If this option is not specified then drive and
- full path names are given for directories but file names are given
- alone.
-
-